Shell.AppSystem.get_default().connect('installed-changed',
Lang.bind(this, this._appInstalledChanged));
- item = this.menu.addSettingsAction(_("Date & Time Settings"), 'gnome-datetime-panel.desktop');
- if (item) {
- item.actor.show_on_set_parent = false;
- item.actor.reparent(vbox);
- this._dateAndTimeSeparator = separator;
- }
-
// Done with hbox for calendar and event list
}
this._setEventSource(eventSource);
this._updateEventsVisibility();
-
- // This needs to be handled manually, as the code to
- // autohide separators doesn't work across the vbox
- this._dateAndTimeSeparator.actor.visible = Main.sessionMode.allowSettings;
},
_getCalendarApp: function() {